package org.spring.springboot.app.community.member.service;


import org.spring.springboot.app.base.R;
import org.spring.springboot.app.community.member.domain.po.CommunityMemberPO;
import org.spring.springboot.app.community.member.domain.vo.*;

import java.util.List;

/**
 *   社区-社区成员表管理接口
 */
public interface ICommunityMemberService {
    /**
     *
     * @param searchVo
     * @return
     */
    List<CommunityMemberVO> findAll(SeachCommunityMemberVO searchVo);

    /**
     *
     * @param vo
     * @return
     */
    R save(SaveCommunityMemberVO vo);

    /**
     *
     * @param vo
     * @return
     */
    R update(UpdateCommunityMemberVO vo);

    /**
     *
     * @param id
     * @return
     */
    CommunityMemberPO find(String id);

    /**
     *
     * @param buildId
     * @return
     */
    R checkBuildId(String buildId);

    /**\
     *
     * @param buildId
     * @return
     */
    List<ExcelCommunityMemberVO> findExcelAllList(String buildId);

    /**
     *
     * @param list
     * @return
     */
    R opExcelCommunityMember(List<ExcelCommunityMemberVO> list);
}
